package com.succez.server.servlet;
import java.util.Map;
/**
 * 一次请求的请求信息
 */
public class Request {
    
    /**
     * 请求方法
     */
    private String method;
    
    /**
     * 请求协议
     */
    private String protocol;
    
    /**
     * 请求原始的url
     */
    private String rawUrl;
    
    /**
     * 请求url
     */
    private String url;
    
    /**
     * 请求查询参数
     */
    private Map<String, String> queryParams;
    
    /**
     * 请求头部信息
     */
    private Map<String, String> headInfo;

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Map<String, String> getQueryParams() {
        return queryParams;
    }

    public void setQueryParams(Map<String, String> queryParams) {
        this.queryParams = queryParams;
    }

    public Map<String, String> getHeadInfo() {
        return headInfo;
    }

    public void setHeadInfo(Map<String, String> headInfo) {
        this.headInfo = headInfo;
    }

    public String getRawUrl() {
        return rawUrl;
    }

    public void setRawUrl(String rawUrl) {
        this.rawUrl = rawUrl;
    }

}